package comp.style.theme
{
	import comp.style.skin.*;
	/**
	 * 滚动条的默认主题目
	 */
	public class ScrollBarTheme extends Object
	{
//		protected static var _inst:ScrollBarTheme;
//		
//		public static function get inst():ScrollBarTheme
//		{
//			if(!_inst)
//				_inst=new ScrollBarTheme();
//			return _inst;
//		}
//		
		public function ScrollBarTheme()
		{
			_topSkin=ArrowTopSkin  ;//上箭头默认
			_topOverSkin=ArrowTopOverSkin;//=Resource.arrowTopOver;//上箭头划过
			_topDownSkin=ArrowTopDownSkin;//=Resource.arrowTopDown;//上箭头按下
			
			_bottomSkin=ArrowBottomSkin;//Resource.arrowBottomUp;//下箭头默认
			_bottomOverSkin=ArrowBottomOverSkin;//=Resource.arrowBottomOver;//下箭头划过
			_bottomDownSkin=ArrowBottomDownSkin;//=Resource.arrowBottomDown;//下箭头按上
			
			_middleSkin=ArrowMiddleSkin;//Resource.arrowMiddleUp;//拉动条默认
			_middleOVerSkin=ArrowMiddleOverSkin;//Resource.arrowMiddleDown;//=Resource.arrowMiddleOver;//拉动条划过
			_middleDownSkin=ArrowMiddleDownSkin;//
	
		}
		
		private var _backgroundColor:uint=0x00;//默认背景色
		private var _width:Number=12;//默认
		private var _height:Number=100;//默认
		private var _maxHeight:Number=100;//默认
		//******
		//
		//**********
		protected var _topSkin:Class=ArrowTopSkin  ;//上箭头默认
		protected var _topOverSkin:Class=ArrowTopOverSkin;//=Resource.arrowTopOver;//上箭头划过
		protected var _topDownSkin:Class=ArrowTopDownSkin;//=Resource.arrowTopDown;//上箭头按下
		
		protected var _bottomSkin:Class=ArrowBottomSkin;//Resource.arrowBottomUp;//下箭头默认
		protected var _bottomOverSkin:Class=ArrowBottomOverSkin;//=Resource.arrowBottomOver;//下箭头划过
		protected var _bottomDownSkin:Class=ArrowBottomDownSkin;//=Resource.arrowBottomDown;//下箭头按上
		
		protected var _middleSkin:Class=ArrowMiddleSkin;//Resource.arrowMiddleUp;//拉动条默认
		protected var _middleOVerSkin:Class=ArrowMiddleOverSkin;//Resource.arrowMiddleDown;//=Resource.arrowMiddleOver;//拉动条划过
		protected var _middleDownSkin:Class=ArrowMiddleDownSkin;//Resource.arrowMiddleDown;//拉动条按下
		
		//背景
		protected var _backgroundImage:Class=ScrollBackgroundImage;

		/**
		 * 背景图片
		 */
		public function get backgroundImage():Class
		{
			return _backgroundImage;
		}

		public function set backgroundImage(value:Class):void
		{
			_backgroundImage = value;
		}

			
		public function get topSkin():Class
		{
			return _topSkin;
		}

		public function set topSkin(value:Class):void
		{
			_topSkin = value;
		}

		public function get topOverSkin():Class
		{
			return _topOverSkin;
		}

		public function set topOverSkin(value:Class):void
		{
			_topOverSkin = value;
		}

		public function get topDownSkin():Class
		{
			return _topDownSkin;
		}

		public function set topDownSkin(value:Class):void
		{
			_topDownSkin = value;
		}

		public function get bottomSkin():Class
		{
			return _bottomSkin;
		}

		public function set bottomSkin(value:Class):void
		{
			_bottomSkin = value;
		}

		public function get bottomOverSkin():Class
		{
			return _bottomOverSkin;
		}

		public function set bottomOverSkin(value:Class):void
		{
			_bottomOverSkin = value;
		}

		public function get bottomDownSkin():Class
		{
			return _bottomDownSkin;
		}

		public function set bottomDownSkin(value:Class):void
		{
			_bottomDownSkin = value;
		}

		public function get middleSkin():Class
		{
			return _middleSkin;
		}

		public function set middleSkin(value:Class):void
		{
			_middleSkin = value;
		}

		public function get middleOVerSkin():Class
		{
			return _middleOVerSkin;
		}

		public function set middleOVerSkin(value:Class):void
		{
			_middleOVerSkin = value;
		}

		public function get middleDownSkin():Class
		{
			return _middleDownSkin;
		}

		public function set middleDownSkin(value:Class):void
		{
			_middleDownSkin = value;
		}

		public function get backgroundColor():uint
		{
			return _backgroundColor;
		}

		public function set backgroundColor(value:uint):void
		{
			_backgroundColor = value;
		}

		public function get width():Number
		{
			return _width;
		}

		public function set width(value:Number):void
		{
			_width = value;
		}

		public function get height():Number
		{
			return _height;
		}

		public function set height(value:Number):void
		{
			_height = value;
		}

		public function get maxHeight():Number
		{
			return _maxHeight;
		}

		public function set maxHeight(value:Number):void
		{
			_maxHeight = value;
		}


	}
}